package com.exam.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by 23115 on 2021/8/8 22:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("考试里的题目实体")
@TableName(value = "exam_paper_question")
public class PaperQuestion {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键 考试题目表的id")
    private Integer id;

    @ApiModelProperty(value = "考试的id")
    private Integer paperId;

    @ApiModelProperty(value = "问题的id字符串")
    private String questionId;

    @ApiModelProperty(value = "考试中每一题的分数")
    private String score;
}
